﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PocketEngine.Images
{
    public class pAnimImage
    {
        public List<pImage> Images
        {
            get
            {
                return mImages;
            }
            set
            {
                mImages = value;
            }
        }
        private List<pImage> mImages = new List<pImage>();

        public void AddFrame(pImage img)
        {
            mImages.Add(img);
        }
        public pAnimImage(pImage first)
        {
            AddFrame(first);
        }
        public pAnimImage()
        {
        }
        public int FrameCount
        {
            get
            {
                return Images.Count;
            }
        }
    }
}
